
class Basic() :
    def to_dict(self):
        """
        参考:  https://www.cnblogs.com/sanduzxcvbnm/p/10219961.html
        """
        model_dict = dict(self.__dict__)
        del model_dict['_sa_instance_state']
        return model_dict

